/*
 * Copyright (c) 2006, 2022, webrx.cn All rights reserved.
 *
 */
package cn.webrx;

/**
 * <p>Project: jse2204 - For3
 * <p>Powered by webrx On 2022-09-05 09:56:16
 *
 * @author webrx [webrx@126.com]
 * @version 1.0
 * @since 17
 */
public class For3 {
    public static void main(String[] args) {
        int i = 1;
        for (; i <= 10; ) {
            System.out.println(i++);
        }
        System.out.println(i);


        //int i = 1;
        for (; i <= 10; i++) {
            System.out.println(i);
        }
        System.out.println(i);

        System.out.println("----------------");
        for(int j=0;j<10;){
            System.out.println(++j);
        }

        System.out.println("100 ... 90----------------");
        for(int j=100;j>=90;j--){
            System.out.println(j);
        }

    }
}
